package com.insideClass.AnonymityInsideClass;

class Base{

}
class Derived extends Base{

}
interface OrdinaryGetter{
    Base get();
}
interface DerivedGetter extends OrdinaryGetter{
    @Override
    Derived get();
}
/**
 * @author 13699
 */
public class CovariantReturnTypes {
    void test(DerivedGetter d){
        Derived d2=d.get();
    }
}
